<include file='Common:header' />

<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">

    <!-- #section:basics/sidebar -->

    <include file='Common:left' />
    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">

                <div class="row">
                    <div class="col-xs-12">
                        <div>
                            <form id="leftnav" name="leftnav" method="post" action="" >
                                <input type="hidden" name="checkk" id="checkk" value="1" /><!--用于判断操作类型-->
                                <table width="100%" class="table table-striped table-bordered table-hover" id="dynamic-table">
                                    <thead>
                                    <tr>
                                        <th width="8%">id</th>
                                        <th width="24%">所属企业</th>
                                        <th width="22%">报表名称</th>
                                        <th width="11%">报表编号</th>
                                        <th width="9%">年份</th>
                                        <th width="8%">季度</th>
                                        <th width="9%">状态</th>
                                        <th width="11%" style="border-right:#CCC solid 1px;">操作</th>
                                    </tr>
                                    </thead>

                                    <tbody>

                                    <foreach name="list" item="v">
                                        <tr>
                                            <td height="28" >{$v.id}</td>
                                            <td>{$v.u_name}</td>
                                            <td>{$v.title}</td>
                                            <td>{$v.code}</td>
                                            <td>{$v.year}</td>
                                            <td>{$v.quarter}</td>
                                            <td>
                                                <if condition="$v['state'] eq 0">
                                                    未填写
                                                    <elseif condition="$v['state'] eq 1"/>
                                                    待审核
                                                    <else/>
                                                    已完成

                                                </if>
                                            </td>
                                            <td>
                                                <div class="hidden-sm hidden-xs action-buttons">
<!--                                                    <if condition="$v['is_write'] eq 1">
                                                        <a   class="btn-danger" href="{:U('table_edit',array('id'=>$v['id']))}" title="线上修改">
                                                            <i class="ace-icon fa fa-pencil bigger-100">线上修改</i></a>
                                                        <a style="margin-top: 3px; " class="badge-yellow" href="{:U('table_offline',array('id'=>$v['id']))}" title="线上修改">
                                                            <i class="ace-icon fa fa-pencil bigger-100">线下修改</i></a>
                                                    </if>-->

                                                    <!--<a class="red" href="javascript:;" onclick="return del({$v.admin_id});" title="删除">
                                                        <i class="ace-icon fa fa-trash-o bigger-130"></i></a>-->
                                                    <a style="margin-top: 3px; " class="btn-success" href="{:U('table_info',array('id'=>$v['id']))}" title="查看报表">
                                                        <i class="ace-icon fa fa-search bigger-100">查看报表</i>
                                                    </a>
                                                </div>
                                            </td>
                                        </tr>
                                    </foreach>
                                    <tr>
                                        <td height="50" colspan="10" align="left">{$show}</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </form>
                        </div>
                    </div>
                </div>

                <include file='Common:header_nav' />

            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->


    <script>

    </script>
    <include file='Common:footer' />

</div><!-- /.main-container -->
</body>
</html>
